﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MLVS.Model
{
    public class CVINS
    {
        public int CVINSID { get; set; }
        public string ASKPR { get; set; }

        public string COLOURCD { get; set; } // varchar 10
        public string DEFVATCD { get; set; } //varchar 1 constant (=2)
        public string ESVATCD { get; set; } // varchar 1 constant (=2)
        public string EWA { get; set; } // varchar 6 <ETA>
        public string IMPCODE { get; set; } // varchar 20 <URN>
        public string ISPUBLISHED { get; set; } //small int constant (=1)
        public string LICNO { get; set; } //varchar 15 <URN>
        public string LOCATION { get; set; } //varchar 10  <Location>
        public string MODEL { get; set; }// VARCHAR 80 ModelFamily>/<Name>

        public string LISTPRICE { get; set; }  // <NormalPrice> reduce VAT

        public string MAKE { get; set; } // constant = TOYOTA
        public string MLVSDEALER { get; set; }  //Constant
        public string NOTE { get; set; } //Text
        public string SERIALNO { get; set; } // VIN No <URN> 20
        public string SMANID { get; set; } // constant
        public string SUBMODEL { get; set; } //Submodel (varchar (150) V. 7.0)

        public string TOTOEQS { get; set; } //Accessory total including VAT Model/Name
        public string TOTOEQS0 { get; set; } //Accessory total excluding VAT

        public string TRIMCD { get; set; }  //Interior colour code IntColour
        public string TYPECODE { get; set; } // varchar50 Model/Code
        public int VINSID { get; set; } //generated
        public string VISIBLE { get; set; } //constant (1)
        public string UNITID { get; set; } // get Constant

        public List<CVOEQ> cvoeqs { get; set; }

    }
}
